$count: 7;

.cc-loading {
  // filter: blur(4px) contrast(8); 
 
  .el-loading-text {
    filter: none;
    margin-top: 20px;
    color: #fff;
    position: relative;
    letter-spacing: 2px;
    &::after {
      content: "";
      position: absolute;
      top: 0%;
      bottom: 0;
      animation: dot 3.5s infinite steps(3, start);
      line-height: 1;
    }

    @keyframes dot {
      33.33% {
        content: ".";
      }

      66.67% {
        content: "..";
      }

      100% {
        content: "...";
      }
    }
  }

  .cc-loading-container {
    
    margin: auto;
    position: relative;
    width: 10px;
    height: 10px;
  }

  .cc-loading-ball,
  .cc-loading-first {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 50%;
    transform: translate(-700%, 0);
    opacity: 0;
    // animation: move 3s infinite linear;
  }

  @for $i from 0 through $count {
    .cc-loading-ball:nth-child(#{$i}) {
      animation: move 3.5s infinite #{$i * 0.2 + 0.1}s linear;
    }
  }

  .cc-loading-first {
    animation: scaleMove 3.5s infinite linear;
  }


}

@keyframes move {
  25% {
    opacity: 1;
    transform: translate(-1px, 0);
  }

  50% {
    opacity: 1;
    transform: translate(1px, 0);
  }

  75%,
  100% {
    opacity: 0;
    transform: translate(700%, 0);
  }
}


@keyframes scaleMove {
  25% {
    opacity: 1;
    transform: translate(-1px, 0);
  }

  35% {
    opacity: 1;
    transform: scale(1);
  }

  70% {
    opacity: 1;
    transform: translate(1px, 0) scale(2);
  }
  80% {
    opacity: 1;
    transform: translate(1px, 0) scale(1.7);
  }
  90% {
    opacity: 1;
    transform: translate(1px, 0) scale(1.5);
  }
  100% {
    opacity: 0;
    transform: translate(1px, 0) scale(1);
  }
}